a {
    text-decoration:none;
    color:rgb(83,147,211);
}

a:hover {
    color:rgb(82,119,171);
    cursor:pointer;
}
/*链接样式*/
ul {
    list-style-type:none;
    margin:0;
    padding:0;
    overflow:hidden;
    background-color:rgb(5,147,211);
}

li {
    float:left;
}

li a, .dropbtn {
    display:inline-block;
    color:#f2f2f2;
    text-align:center;
    padding:14px 16px;
    text-decoration:none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color:rgb(4,130,186);
    color:#f2f2f2;
}

li.dropdown {
    display:inline-block;
}

.dropdown-content {
    display:none;
    position:absolute;
    min-width:160px;
    box-shadow:0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index:1;
}

.dropdown-content a {
    color:black;
    background-color:#f2f2f2;
    padding:12px 16px;
    text-decoration:none;
    display:block;
    text-align:left;
}

.dropdown-content a:hover {background-color:rgb(4,130,186)}

.dropdown:hover .dropdown-content {
    display:block;
}
/*顶部导航栏,下拉列表样式*/
.button1 {
    border:none;
    border-radius:5px;
    background-color:rgb(0,168,230);
    color:#f2f2f2;
    height:30px;
}

.button1:hover {
    background-color:rgb(53,179,238);
}
/*按钮样式*/
textarea.answer {
    width:800px;
    height:500px;
    resize:none;
}
/*文本输入区域样式*/
.code1 {
    padding:15px;
    border-style:solid;
    border-width:1px;
    border-radius:5px;
    border-color:rgb(221,221,221);
    background-color:rgb(250,250,250);
}

.code2 {
    padding:15px;
    border-style:solid;
    border-width:1px;
    border-radius:5px;
    border-color:rgb(177,207,221);
    background-color:rgb(235,247,253);
    color:rgb(45,156,213);
}
/*代码部分样式*/
table {
    width:100%;
}

th,td {
  text-align:left;
  padding:8px;
  border-bottom:1px solid #ddd;
}
/*表格样式*/
.leftcolumn {
    float:left;
    width:80%;
}

.rightcolumn {
    float:left;
    width:20%;
}

.row:after {
    content:"";
    display:table;
    clear:both;
}
/*分列样式*/
.footer {
  padding:20px;
  text-align:center;
  background-color:rgb(5,147,211);
  margin-top:20px;
}
/*页尾样式*/
@media screen and (max-width:800px) {
  .leftcolumn, .rightcolumn {
    width:100%;
    padding:0;
  }
}

@media screen and (max-width:400px) {
  .topnav a {
    float:none;
    width:100%;
  }
}
/*媒体查询,响应式布局*/